<template>
  <el-form-item :label="i18nt('designer.setting.labelAlign')">
    <el-radio-group v-model="optionModel.labelAlign" class="radio-group-custom">
      <el-radio-button label="label-left-align"> {{ i18nt('designer.setting.leftAlign') }}</el-radio-button>
      <el-radio-button label="label-center-align"> {{ i18nt('designer.setting.centerAlign') }}</el-radio-button>
      <el-radio-button label="label-right-align"> {{ i18nt('designer.setting.rightAlign') }}</el-radio-button>
    </el-radio-group>
  </el-form-item>
</template>

<script>
import i18n from '../../../../../utils/i18n'

export default {
  name: 'sub-form-labelAlign-editor',
  mixins: [i18n],
  props: {
    designer: Object,
    selectedWidget: Object,
    optionModel: Object
  }
}
</script>

<style lang="scss" scoped>
.radio-group-custom {
  ::v-deep .el-radio-button__inner {
    padding-left: 12px;
    padding-right: 12px;
  }
}
</style>
